package com.itheima.stock.service;

import com.itheima.stock.dto.LoginDTO;
import com.itheima.stock.vo.CaptchaVo;
import com.itheima.stock.vo.LoginVO;

public interface UserService {
    /**
     * 生成验证码
     * @return CaptchaVO
     */
    CaptchaVo captcha();

    /**
     * 登录接口
     * @param loginDTO 类型
     * @return LoginVO
     */
    LoginVO login(LoginDTO loginDTO);
}
